package day3.demo2_后台线程;

public class MyTask implements Runnable{
    @Override
    public void run() {
        for (int i = 0; i < 5; i++) {
            System.out.println("线程第"+i+"次执行。。。。");
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {}
        }
    }
}
